From e98eadb02ae1637dd511629939ef50c464cf3cc3 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 7 May 2003 13:58:37 +0000 Subject: [PATCH] Revert last change. Alex says 4.06 firmware fixed that. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@356 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/magproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index ff2f6f085..9b89ace7b 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -1181,7 +1181,7 @@ mag_waypt_pr(const waypoint *waypointp) odesc = mag_cleanse(odesc); } - sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%.lf,M,%-.8s,%-.30s,%s", + sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s", lat, ilat < 0 ? 'S' : 'N', lon, ilon < 0 ? 'W' : 'E', waypointp->position.altitude.altitude_meters == unknown_alt ? -- 2.30.2